package com.ljh.onlinetest.repository;

import com.ljh.onlinetest.domain.Question;
import com.ljh.onlinetest.viewmodel.admin.question.QuestionRequestPageVM;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ljh
 * @ClassName QuestionMapper.java
 * @createTime 2022年01月20日
 */
@Mapper
public interface QuestionMapper extends BaseMapper<Question> {
    List<Question> page(QuestionRequestPageVM requestPageVM);

    List<Question> selectByIds(@Param("ids") List<Integer> questionIds);

    Integer selectAllCount();
}
